<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('admin/default/welcome')}">开始</a> / <a href="{url('news/index')}">通知推送</a></div>
<div class="m10">
<div class="table-head fn-clear">
    <div class="fn-l"><a href="{url('news/index')}" class="button"> <i class="iconfont">&#xf0ca;</i> 列表</a><strong>通知推送</strong></div>
    <div class="fn-r"><a href="{url('news/edit')}" class="button button-blue link" title="添加应用"><i class="iconfont">&#xf055;</i> 添加商业用户</a></div>
</div>
<table class="table">
<thead><tr><th class="fn-tac w40">#</th><th>内容标题</th><th>网址</th><th class="w200 fn-tac">更新时间</th><th class="w100 fn-tac">管理操作</th></tr></thead>
<tbody>
{loop $list $vo}
    <tr>
      <td class="fn-tac">{$vo['id']}</td>
      <td>{$vo['title']}</td>
      <td>{$vo['url']}</td>
      <td class="fn-tac">{date('Y-m-d H:i:s',$vo['uptime'])}</td>
      <td class="fn-tac tip">
          <a title="编辑" href="{url('news/edit',array(id=>$vo['id']))}">编辑</a> / 
          <a href="###" title="删除" class="del" url="{url('news/index',array(id=>$vo['id'],act=>del))}">删除</a>  
      </td>
    </tr>
{/loop}
</tbody>
</table>
<div id="page" class="fn-clear">{$pager}</div>
</div>
<script type="text/javascript">
Do('base','dialog',function(){
  $('.del').click(function(){$(this).del();});
})
</script>